package com.ldd.mybatis.service;

import com.ldd.mybatis.model.Dept;
import com.ldd.mybatis.model.DeptAndEmp;
import com.ldd.mybatis.model.EmpAndDept;

import java.util.List;

public interface DeptService {
    Dept selectDeptById(int id);

    List<DeptAndEmp> selectDeptAndEmpById(String dName);

    List<EmpAndDept> selectEmpAndDept();
//    List<Dept> selectAllDepts();
//    int insertDept(Dept Dept);
//    int updateDept(Dept Dept);
//    int deleteDeptById(int id);
}
